﻿#region << 文 件 说 明 >>

/*----------------------------------------------------------------
// 文件名称：Enums
// 创 建 者：杨程
// 创建时间：2021/9/15 14:26:53
// 文件版本：V1.0.0
// ===============================================================
// 功能描述：
//
//
//----------------------------------------------------------------*/

#endregion

namespace Vampirewal.Core;

/// <summary>
/// 上传图片存储方式
/// </summary>
public enum SaveFileModeEnum
{
    Local = 0,//本地
    Database = 1,//数据库
    DFS = 2 //DFS
};

/// <summary>
/// 数据库类型
/// </summary>
public enum DBTypeEnum
{
    MySql,
    SqlServer,
    Sqlite,
    Oracle,
    PostgreSQL,
    Dm,
    Kdbndp,
    Oscar
}

/// <summary>
/// GeneralListView界面上的按钮
/// </summary>
public enum ListViewButton
{
    /// <summary>
    /// 新增
    /// </summary>
    [Display(Name = "新增")]
    [SetClassification(Type = 0)]
    Add = 0,

    /// <summary>
    /// 编辑
    /// </summary>
    [Display(Name = "编辑")]
    [SetClassification(Type = 1)]
    Edit = 1,

    /// <summary>
    /// 删除
    /// </summary>
    [Display(Name = "删除")]
    [SetClassification(Type = 2)]
    Delete = 2,

    /// <summary>
    /// 导出
    /// </summary>
    [Display(Name = "导出")]
    [SetClassification(Type = 3)]
    Export = 3,

    /// <summary>
    /// 导入
    /// </summary>
    [Display(Name = "导入")]
    [SetClassification(Type = 4)]
    Import = 4
}

/// <summary>
/// 对齐方式
/// </summary>
public enum AlignmentMode
{
    Left,
    Center,
    Right,
    Top,
    Bottom
}